package com.cool.po.sysmanagepo;

import com.cool.bo.sysmanage.resource.PermissionQueryBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 权限表
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "com-cool-po-sysmanagepo-PermissionPo")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PermissionPo  extends PermissionQueryBo {
    /**
     * 权限表ID
     */
    @ApiModelProperty(value = "权限表ID")
    private Integer permissionId;

    /**
     * 父级权限ID
     */
    @ApiModelProperty(value = "父级权限ID")
    private Integer permissionParentId;

    /**
     * 权限名
     */
    @ApiModelProperty(value = "权限名")
    private String permissionName;

    /**
     * 权限对应URI
     */
    @ApiModelProperty(value = "权限对应URI")
    private String permissionUri;

    /**
     * 权限对应层级
     */
    @ApiModelProperty(value = "权限对应层级")
    private Integer permissionLevel;

    /**
     * 是否排序 0不排序 1排序
     */
    @ApiModelProperty(value = "是否排序 0不排序 1排序")
    private Integer permissionSort;

    /**
     * 允许访问的方式
     */
    @ApiModelProperty(value = "允许访问的方式")
    private String permissionMethod;

    /**
     * 权限分类ID
     */
    @ApiModelProperty(value = "权限分类ID")
    private Integer classifyId;

    /**
     * 权限说明
     */
    @ApiModelProperty(value = "权限说明")
    private String permissionIntro;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date permissionCreate;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date permissionUpdate;
}